/*
 * Copyright (C) 2010 Seapeak.Xu
 *
 * fostmq may be copied only under the terms of the GNU General
 * Public License V3, which may be found in the fostmq source kit.
 *
 * Created on: 2010-11-1
 * Author: Seapeak.Xu
 */

#ifndef FOST_NETSTREAM
#define FOST_NETSTREAM

#ifdef __cplusplus
extern "C"
{
#endif

#include <stdio.h>
#include <stdlib.h>

#include "fost_typedef.h"

int send_by_select_nb(int sockfd,int timeout,const char *buff,const int len);
int recv_by_select_nb(int sockfd,int timeout,char *buff,const int len);

#ifdef __cplusplus
}	
#endif
#endif

